package com.model.bean;

import com.entites.EventComment;
import java.util.List;
import javax.ejb.Local;

@Local
public interface EventCommentFacadeLocal
{

    void create(EventComment eventComment);

    void edit(EventComment eventComment);

    void remove(EventComment eventComment);

    EventComment find(Object id);

    List<EventComment> findAll();

    List<EventComment> findRange(int[] range);

    int count();
    
    List<EventComment> getEventCommentListPaging(int begin_row,int end_row,int eventId);
    
    int countCommentByEventId(int eventId);
    
    List<EventComment> getEventCommentByUser(int begin_row,int end_row,String username);
    
    void postComment(EventComment eventComment);

}
